﻿Imports System.Xml

Public Module extentions_autre
    <System.Runtime.CompilerServices.Extension()> _
    Public Function GetElementByTagName(ByVal x As XmlElement, ByVal str As String) As XmlElement
        Return x.GetElementsByTagName(str)(0)
    End Function

    <System.Runtime.CompilerServices.Extension()> _
    Public Sub addItim(ByVal dtGrid As DataGrid, ByVal obj As ConsoleTypes.general)
        dtGrid.Items.Insert(0, obj)
    End Sub

End Module
